package com.order.manager.Model.other;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class OrderForSender {
    private String orderId;//订单id
    private String state;//订单状态
    private String address;//订单地址
    private List<MenuCount> menuName;//菜品
    private String shopName;//商店名称
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date inputTime;//下单时间
    private String userId;//下单用户id
    private String username;//下单用户
    private String senderName;//配送员名称
    private String  senderId;//配送员id
    private String  userPhone;//用户电话
    private String senderPhone;//配送员电话
    private String demo;//备注
    private String money;//金额
    private String type;//类型
    private String applyState;//支付状态
}
